package com.sohoometer.heatMeter.bean;

import java.util.HashMap;

public class HeatMeterDataExceptionType {
	//热量表本身未上传数据 当天未上传 上传信息为0
	public  static int HEATMETER_UNUPLOAD= 0x1;
	//集中器上传的历史信息
	public  static int CENTER_NOTREAD= 0x1<<1;
	//根据相应的数据进行的数据异常
	
	//根据集中器上传的数据中的错误信息进行异常情况 上传的异常类型
	public static int DATA_UPLOADEXCEPTION = 0x1<<2;
	//自定义异常
	public static int SELF_EXCEPTION = 0x1<<3;
	//自定义供水温度异常
	public static int TEMPEXCEPTION_SUPPLYWATER = 0x1<<4; 
	//自定义回水温度异常
	public static int TEMPEXCEPTION_BACKWATER = 0x1<<5; 
	//自定义瞬时流量异常
	public static int INSTANTFLOW_EXCEPTION = 0x1<<6;
	//自定义累计热量异常
	public static int SUMHEAT_EXCEPTION = 0x1<<7;
	//自定义温差异常
	public static int TEMPEXCEPTION__TEMPDIFF=  0x1<<8; 
	//有记录但是从来没有上传过
	public static int NORECORD_EXCEPTION=  0x1<<9; 
	
	private static HashMap<String, String> wrongMsg = new HashMap<String, String>();
	
	static {
			wrongMsg.put("E", "数据错误");
			wrongMsg.put("9999", "数据99999错误");
			wrongMsg.put("8710", "数据未知错误");
	}
	
}
